package com.yonyou.cyxdms.sysAuth.service.dto.authorization;

import com.yonyou.cyxdms.sysAuth.service.dto.OrgPositionDTO;

import java.util.List;

/**
 * @author ：quankk
 * @date ：Created in 2019/7/18 18:55
 * @description：授权DTO
 */
public class AuthorizationDTO {

    private List<AuthOrgPositionDTO> allocatedList;

    private Integer employeeId;

    private String ids;

    private Integer type;

    private String userCode;//账号

    private Integer userStatus;//启用状态

    public List<AuthOrgPositionDTO> getAllocatedList() {
        return allocatedList;
    }

    public void setAllocatedList(List<AuthOrgPositionDTO> allocatedList) {
        this.allocatedList = allocatedList;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    @Override
    public String toString() {
        return "AuthorizationDTO{" +
                "allocatedList=" + allocatedList +
                ", employeeId=" + employeeId +
                ", ids='" + ids + '\'' +
                ", type=" + type +
                ", userCode='" + userCode + '\'' +
                ", userStatus=" + userStatus +
                '}';
    }
}
